import Vue from 'vue'
import App from './App.vue'
import router from './router'  //引入路由模块

import axios from 'axios'
import VueAxios from 'vue-axios'

import ElementUI from 'element-ui'; //加入
import 'element-ui/lib/theme-chalk/index.css';//加入

import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: '6s1szgExie0XK0Ht0kwnIePCKoStqxZv'
})

Vue.use(VueAxios, axios)
Vue.use(ElementUI);//加入
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
